package com.kafka.demo.emun;


import lombok.Getter;

/**
 * @Author: Cyy
 * @Description:
 * @Date:Created in 14:25 2019/3/19
 */
@Getter
public enum ResultCode {

    SUCCESS(0,"成功"),
    EXCEPTION(-1,"异常");

    private Integer code;

    private String message;

    ResultCode(Integer code, String message) {
        this.code=code;
        this.message=message;
    }


}
